<?PHP
TeeWee::$PAGE->inc('aid.php');
?><h1>TeeWee says Hi!</h1>

<p>
	<h2>TeeWee Repository and Wiki</h2>
	The TeeWee project is hosted on <a href="http://code.google.com/p/teewee">code.google.com</a>.<br />
	If you wish to contribute, send me a mail with your intentions and I will consider your request.<br />
	If you simply wish to use TeeWee, check out the
	<a href="http://code.google.com/p/teewee/#Getting_started_using">getting started</a> page.
</p>

<p>

	<h2>Basic examples</h2>

	<p>
		<h3>Obtaining public files of a resource</h2>
		<?PHP code_example(
			'echo htmlentities(\'<img src="\'.TeeWee::$PAGE->public_url(\'picture.png\').\'" />\');',
			'html'
		); ?>
	</p>
	
	<p>
		<h3>Obtaining private files of a resource</h3>
		<?PHP	code_example(
			'echo file_get_contents(TeeWee::$PAGE->private_file("init.sql"));',
			'sql'
		); ?>
	</p>

	<p>
		<h3>Including PHP files from a resource</h3>
		<?PHP code_example(
			'TeeWee::$PAGE->inc("example.php");',
			'php-file'
		); ?>
			
	</p>

</p>
